'use strict';
app.controller('ChatDetailCtrl', function($scope,$ionicNavBarDelegate,ShoppingService) {
    $ionicNavBarDelegate.showBar(false);
    $scope.barGainData = {};
    ShoppingService.getBargainPrice(1,5).then(function (res) {
        $scope.barGainData=res;
    })

});
